/**
 * kl yy-ds @2021
 */
package com.cxps.server.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxps.cloud.base.BaseEntity;
import com.cxps.cloud.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品展示对象
 * @author YouCai.Liu
 * @since 2021/10/18
 * ...
 */
@Data
@ApiModel(value = "商品展示对象")
public class ProductVo extends BaseVo {

    private String id;

    // 商品名
    @ApiModelProperty(name = "productName", value = "商品名")
    private String productName;

    // 商品短标题
    @ApiModelProperty(name = "productTitle", value = "商品短标题")
    private String productTitle;

    // 商品条码
    @ApiModelProperty(name = "productCode", value = "商品条码")
    private String productCode;

    // 商品分类
    @ApiModelProperty(name = "productType", value = "商品分类")
    private String productType;

    // 销售渠道
    @ApiModelProperty(name = "channel", value = "销售渠道")
    private String channel;

    // 销售方式
    @ApiModelProperty(name = "saleType", value = "销售方式")
    private String saleType;

    // 单位
    @ApiModelProperty(name = "unit", value = "单位")
    private String unit;

    // 商品图片
    @ApiModelProperty(name = "productImg", value = "商品图片")
    private String productImg;

    // 商品价格
    @ApiModelProperty(name = "productPrice", value = "商品价格")
    private Double productPrice;

    // 商品销量
    @ApiModelProperty(name = "saleNum", value = "商品销量")
    private Integer saleNum;

    // 是否上架 0是 1不是
    @ApiModelProperty(name = "isUp", value = "是否上架 0是 1不是")
    private Integer isUp;

}
